<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>adv-gap</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>

</head>
<body>
    <div id="root">
        <ul>
            <li @click="handleNavClick('list')">列表</li>
            <li @click="handleNavClick('detail')">详情</li>
        </ul>
 
        <keep-alive>
            <component :is="currentComp" :currentComp="currentComp"></component>
        </keep-alive>
        
        <br>
        <br>
        <br>
        <br>
    
    </div>
    <script type="module" src="./app.js"></script>
</body>
</html>